export const fileManageRouter: Array<any> = [
  // 文件管理
  {
    path: '/fileManage',
    name: 'FileManage',
    meta: { title: '文件管理', needLogin: true, icon: 'demo' },
    children: [
      {
        path: 'personFile',
        name: 'FileManagePerson',
        meta: { title: '个人文件', needLogin: true, icon: 'demo' },
        component: () => import('@/views/fileManage/personFile/index.vue')
      },
      {
        path: 'projectFile',
        name: 'FileManageProject',
        meta: { title: '项目文件', needLogin: true, icon: 'demo' },
        component: () => import('@/views/fileManage/projectFile/index.vue')
      },
      // {
      //   path: 'deptFileCatalog',
      //   name: 'FileManageCatalog',
      //   meta: { title: '部门文件目录', needLogin: true, icon: 'demo' },
      //   component: () => import('@/views/fileManage/deptFileCatalog/index.vue')
      // },
      {
        path: 'deptFile',
        name: 'FileManageDept',
        meta: { title: '部门文件', needLogin: true, icon: 'demo' },
        component: () => import('@/views/fileManage/deptFile/index.vue')
      },
      {
        path: 'documentApplication',
        name: 'FileDocumentApplication',
        meta: { title: '文件申请', needLogin: true, icon: 'demo' },
        component: () => import('@/views/fileManage/documentApplication/index.vue')
      },
      {
        path: 'addDocumentApp',
        name: 'documentApplicationAddFile',
        meta: { title: '文件新建申请', needLogin: true, icon: 'demo', hidden: true },
        component: () => import('@/views/fileManage/addDocumentApp/index.vue')
      },
      {
        path: 'onlineAnnotation',
        name: 'FileOnlineAnnotation',
        meta: { title: '文件在线批注', needLogin: true, icon: 'demo', hidden: true },
        component: () => import('@/views/fileManage/addDocumentApp/component/onlineEditingIndex.vue')
      },
      {
        path: 'documentValidation',
        name: 'FileDocumentValidation',
        meta: { title: '文件生效', needLogin: true, icon: 'demo' },
        component: () => import('@/views/fileManage/documentValidation/index.vue')
      },
      {
        path: 'detailDocumentValid',
        name: 'documentValidationDetailFile',
        meta: { title: '文件生效流程单', needLogin: true, icon: 'demo', hidden: true },
        component: () => import('@/views/fileManage/detailDocumentValid/index.vue')
      },
      {
        path: 'recycleBin',
        name: 'FileManageRecycleBin',
        meta: { title: '回收站', needLogin: true, icon: 'demo' },
        component: () => import('@/views/fileManage/recycleBin/index.vue')
      }
    ]
  }
];
